import {DatePickerProps} from "element-plus"
import {CreateFormElsComponents} from "../render/common.ts"
import {ElDatePickerCustomerProps, ElDatePickerCustomerExtend, ElDatePickerCustomerEvents} from "./index.ts"

type ElDatePickerProps = ElDatePickerCustomerProps & DatePickerProps

type ElDatePickerEvents = ElDatePickerCustomerEvents

type ElDatePickerExtend = ElDatePickerCustomerExtend

export type ElDatePicker<Prop> = CreateFormElsComponents<'el-date-picker', Prop, ElDatePickerProps, ElDatePickerEvents> & ElDatePickerExtend
